<style type="text/css">
    .dialog-p{
        margin: auto;
        border: 1px outset #ccc;
        width: 100%;
        height: 100%;
    }

</style>
<div class="dialog-p">
<!--    <form method="POST" action="painel_admin.php?option=inscricao&filter=homens">
        Codigo Inscrição:<input type="text" name="inscricao"/>
        <input type="submit">
    </form>-->
    <?php
    
    $controleInscricao = new ControleInscricao("");
//    $id = "";
//    if (isset($_POST['inscricao'])) {
//        $id = $_POST['inscricao'];
//    }
    $lista = $controleInscricao->findPersonalize("sexo", "feminino");
    ?>
    <div id="page-lista">                
        <table id="table-head">
            <th>Inscricao</th>
            <th>Usuario</th>
            <th>Nome</th>
            <th>Serviço</th>
            <th>RG</th>
            <th>Ações</th>
        </table>
        <div id="table-content">
            <table>
                <?php
                foreach ($lista as $registro => $coluna) {
                    echo "<TR>";
                    echo "<TD>" . $coluna['idInscricao'] . "</TD>";
                    echo "<TD>" . $coluna['nomeUsuario'] . "</TD>";
                    echo "<TD>" . $coluna['nomeJovem'] . "</TD>";
                    echo "<TD>" . $coluna['servico'] . "</TD>";
                    echo "<TD>" . $coluna['rg'] . "</TD>";
                    echo "<TD>
                        <a href=view_inscricao.php?inscricao=" . $coluna['idInscricao'] . "><img src='../img/find.png' /></a>
                        </TD>";
                }

                echo "</TR>";
                ?>
            </table>           
        </div>
        Total.:<?php echo count($lista); ?>
    </div>
</div>
